package DemoText;

import java.util.Scanner;

public class LuoGuP8716 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
    }

    public static boolean isHuiWen (int n) {
        int origin = n;
         int tmp = 0;
         while (n != 0) {
             tmp *= 10;
             int m = n % 10;
             n /= 10;
             tmp += m;
         }
         return tmp == origin;
    }
}
